
<!DOCTYPE html>
<html lang="en" style="width:100%">
	<head>
	<meta charset="UTF-8">
	<title>比康医箱</title>
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
	<link rel="stylesheet" type="text/css" href="../static/css/style.css">
	<link rel="stylesheet" type="text/css" href="../static/css/chaxtj-sfxq.css">
	<link rel="stylesheet" type="text/css" href="../static/css/chaxtj-tfxq.css">
	<link rel="stylesheet" type="text/css" href="../static/css/table.css">
	<link rel="stylesheet" type="text/css" href="../static/css/input.css">
	<link rel="stylesheet" type="text/css" href="../static/css/button.css">
	<link rel="stylesheet" type="text/css" href="../static/css/dialog.css">
	<link rel="stylesheet" type="text/css" href="../static/css/shoufjl-xq-new.css">
	<link rel="stylesheet" type="text/css" href="../static/css/huankuan-list-new.css">
	<link rel="stylesheet" type="text/css" href="../static/css/chaxtj-main.css">
	<link rel="stylesheet" type="text/css" href="../static/css/huankuan-xq.css">
	<link rel="stylesheet" type="text/css" href="../static/css/bootstrap-datetimepicker.min.css"></link>
	</head>
	<body style="width:100%">
	
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link href="../static/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="../static/css/font-awesome.min.css" />
<link rel="stylesheet" href="../static/css/app.css" id="maincss">
<link rel="stylesheet" type="text/css" href="../static/css/button.css">
<link rel="stylesheet" type="text/css" href="../static/css/dialog.css">
<link rel="stylesheet" type="text/css" href="../static/css/pagination.css">
<link rel="stylesheet" type="text/css" href="../static/css/common-style.css">
<script type="text/javascript">
	var path = '';		
</script>
<script src="../static/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../static/jquery/jquery.validator.min.js"></script>
<script type="text/javascript" src="../static/js/zh-CN.js"></script>
<script src="../static/jquery/jquery.cookie.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.storageapi.js"></script>
<script  type="text/javascript" src="../static/js/app.js"></script>
<script src="../static/js/common.js"></script>
<script src="../static/js/common-getInfo.js"></script>
<script src="../static/js/common-validate.js"></script>
<script src="../static/js/common-util.js"></script>
<script src="../static/js/common-dataBind.js"></script>
<script src="../static/js/jquery.PrintArea.js"></script>
<script language="javascript" type="text/javascript">
/**获取是否在客户端标志
 * sessionStorage 根据打开浏览器时获取参数*/
function getKeHudbz() {
	var keHudURL =$('#mainIframe').context.referrer;
	function getValue(url, name) {
	    var reg = new RegExp('(\\?|&)' + name + '=([^&?]*)', 'i');
	    var arr = url.match(reg);
	    if (arr) {
	        return arr[2];
	    }
	    return null;
	}
	var where = getValue(keHudURL, 'where');
	if (where != null) {
		if(where == "Q8gmoUGvFHpoSA43EVyVkg==") {
			sessionStorage.setItem('isKeHud', true);
		} else {
			sessionStorage.setItem('isKeHud', false);
		}
	} 
	if (sessionStorage.getItem('isKeHud') == 'true'){
		return true;
	} else if (sessionStorage.getItem('isKeHud') == 'false') {
		return false;;
	}
}
// 客户端标志
var isKeHud = getKeHudbz();
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = ua
		.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] : (s = ua
		.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] : (s = ua
		.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] : (s = ua
		.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
		
//以下进行测试
/* if (Sys.chrome) {
	//document.write('Chrome: ' + Sys.chrome.substr(0,2));
	//目前Chrome浏览器需要判断支持情况
	var banBenHao = Sys.chrome.substr(0, 2);
	if (parseInt(banBenHao) >= 40) {
		//版本号大于53,跳转到登录页
	} else {
		//版本号小于53,跳转到支持页
		window.location.href="/jump/toZhichi"; 
	}
}
if(!Sys.safari&&!Sys.chrome){
	//其他浏览器，都不支持
	window.location.href="/jump/toZhichi"; 
} */
</script>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
	</head>
	<body>
	<input id="yb-init" style="display: none" value=""/>
	</body>
</html>

<link rel="stylesheet" type="text/css" href="../static/css/header.css">
<link rel="stylesheet" type="text/css" href="../static/css/input.css"><div class="g-container clearfix" style="margin-bottom:60px">
    	<input id="isYiBao" style="display: none" value="true"/>
    	<header class="header clearfix">
          <div class="h-container">
          	<div class="h-hleft">
	            <img src="../static/image/bk_logox.png" alt="logo" class="h-logo" id="logo">
	            <div class="h-clinic">
	            	
	             天天</div>
	        </div>
            <div class="h-help-ect">
            	<div id="bangz" class="h-help-title">帮助</div>
              	<div class="h-help-img" id="tongzhi">
	              	<div class="h-help-fi">
	              		<i class="fa fa-volume-down fa-lg h-helpimg-i" aria-hidden="true"></i>
	              	</div>
	              	<div class="h-help-info" >
	              		<em></em>
	              		<div>
	              			<h4 class="h-help-info-h4">通知栏</h4>
	              			<div class="g-hinfo-lists" id="divTongzhi" >
	              			</div>
	              			<div class="g-hinfo-more"><a href="/jump/toTongzhi">查看全部</a></div>
	              		</div>
	              	</div>
              </div>
              <div class="h-doctor my-message" id="m-message"><span id="helloworld">1767...</span> <i class="fa fa-caret-right fa-lg" aria-hidden="true"></i>
              		<ul class="pull-down-list">
              			<li><a href="/jump/toZhanghaoxx">帐户信息</a></li>
              			<li><a href="/jump/toYonghuxzzs">我的诊所</a></li>
              			<li><a href="/yonghu/tuichu">退出</a></li>
              		</ul>
              </div>
            </div>
           <div class="clearfix g-nav">
		        <div class="nav-left">
		          
		          	<div class="n-weizhenliao nav-l-normal" id="shouy">首页</div>
		          
		          
		          <div class="n-weizhenliao nav-l-normal" id="guahao">挂号</div>
		          
		          
		          	<div class="n-normal-clinic nav-l-normal" id="changguimz">常规门诊</div>
		          
		          
		          	<div class="n-medicine nav-l-normal" id="shouyao">售药</div>
		          
		          
		          	<div class="n-charge nav-l-normal" id="shoufei">收费</div>
		          
		          
		          	<div class="n-repayment nav-l-normal" id="huankuan">还款</div>
		          
		          
		          	
		          		<div class="n-repayment nav-l-normal" id="fayao">发药</div>
		          	
		          		          
		        </div>
		        
		        <div class="nav-right">
		        	<div class="nav-r-normal n-statistics" id="changygn">更多功能<i class="fa fa-caret-right fa-lg" aria-hidden="true"></i>
		        		<ul class="pull-down-list">
		        			
	              				<li><div class="n-statistics" id="chaxuntj">查询/统计</div></li>
	              			
	              			<li><div style="display: none" class="n-clinic" id="daijianwp">代煎/外配</div></li>
	              			
	              			<li><div class="n-patient" id="huanzhe">患者</div></li>
	              			
	              			
	              			<li><div class="n-inventory" id="head-kucun">库存</div></li>
	              			
	              			
	              			<li><div class="n-clinic" id="zhensuo">诊所</div></li>
	              			
	              			<li style="display: none" id="yibaoli" class="a-nryibao"><div class="n-yibao" id="yibao">医保</div></li>
	              			
	              			<li><div class="n-yibao" id="xitong-shezhi">系统设置</div></li>
              				
              			</ul>
		        	</div>
		       </div>
		        
		      </div>
          </div>
      </header>
      
		<div class="modal" style="top: 20%;" id="tanceng-denglu" >
			<div class="modal-dialog  m-postion" style="width:500px; !important">
				<div class="modal-content .d-content" style="border-top: 2px solid #00b671;border-radius: 0;">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
						<h4 class="modal-title" style="font-size:16px;text-align: center;">您的登录信息已过期，请重新登录</h4>
					</div>
					<div class="modal-body text-center" style="margin:15px;">
						账号：<input type="text" id="exshoujihm" style="height: 30px;padding-left:10px;margin-bottom: 20px;border: 1px solid #ccc;" name="username" value="17673465583"/><br>
						密码：<input type="password" id="exmima" style="height: 30px;padding-left:10px;margin-bottom: 10px;border: 1px solid #ccc;" name="password"/>
					</div>
					<div class="modal-footer m-modal-footer" style="font-size:16px;text-align: center;">
						<button type="button" class="btn button" style="background:#00b671;color:#fff;"id="denglu">登录</button>
						<div type="button" class="btn button1" style="background:#fff;border:1px solid #ccc;" id="quxiao" data-dismiss="modal">取消</div>
					</div>
				</div>
			</div>
		</div>
		
	<div class="modal fade" id="tanceng-lodop" tabindex="-1" role="dialog" aria-labelledby="qyjy" aria-hidden="true" style="z-index: 15050">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="width:375px;top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body" style="text-align: center;">
					<span class="modal-title">打印控件未安装(或未启动)!是否立即下载</span>
					<p style="color:#ff0000;font-size:12px;padding:15px 0 0 0;">注：安装后请刷新页面或重新进入。</p>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<a class="btn confirm" id="xiazai" href='/scripts/CLodop_Setup_for_Win32NT.exe' target='_self' style="color:#fff;text-decoration:none;">下载</a>
					<button type="button" class="btn canceal new-btn"  data-dismiss="modal">取消</button>
				</div>
				
			</div>
		</div>
	</div> 
    <div class="modal fade" id="shangpinjqcz" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
		<div class="modal-dialog modal-lg m-postion">
			<div class="modal-content ybtc-content">
				<div class="modal-header">
					<span>精确查找</span>
					
				</div>
				<div class="modal-body" id="shangpjctj">
					<div class="modal-search clearfix">
						<div class="modal-seh-options">
							<div class="modal-seh-name">
								<label>名称：</label>
								<input type="text" placeholder="请输入商品名称" id="shangpinmc">
							</div>
							<div class="modal-seh-company">
								<label>生产厂家：</label>
								<input type="text" placeholder="请输入生产厂家" id="shengchancj">
							</div>
							</div>
						<div class="modal-seh-operation clearfix">
							<button class="modal-seh-button btuuon btn" id="search">查询</button>
						</div>
						<div class="modal-seh-laiyuan">
							<label>来源：</label>
							<div class="btn-jingquecz-check" style="margin: 0;"><span class="check check1" id="checkBenzs"></span>本诊所</div>
							<div class="btn-jingquecz-check"><span class="check check1" id="checkPingtk"></span>平台库</div>
						</div>
						<div class="modal-seh-leixing">
							<label>类型：</label>
							<div class="btn-jingquecz-check chazcy"><span class="check ypleixing check1" id="checkYinpian" value="1"></span>饮片</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkZhongcy" value="2"></span>中成药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkHuaxzy" value="3"></span>化学制药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkShengwzy" value="4"></span>生物制药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkQita" value="5"></span>其他</div>
							<div class="btn-jingquecz-check chazhc"><span class="check check1" id="checkHaocai" value="0"></span>耗材</div>
						</div>
					</div>
					<div class="table-list">
				        <div class="table-title s-title" style="border-bottom:0">
				        	<div id="jingquecz_img"></div>
				            <table width="100%" cellpadding="0" border="0" cellspacing="0" id="jingqcz_table" style="table-layout: fixed;">
					             <thead>
					                 <tr>
					                     <th width="20%">商品名称</th>
					                     <th width="25%">包装规格</th>
					                     <th width="30%">生产厂家</th>
					                     </tr>
					              </thead>
					              <tbody id="jingqcz_tbody"></tbody>
				            </table>
				            <div id="pagination-jingqczsp"></div>
				    </div>
				</div>
			</div>
		</div>
	</div>
	</div>
	</div>
	<input id="yb-chongxinqd" type="hidden" value=""/>
	<input id="yb-yewuzqh" type="hidden" value=""/>
	<input id="yb-zongedzcs" type="hidden" value=""/>
	<input id="huanzhexx" type="hidden" value=""/>
	<input id="yb-duka" type="hidden" value=""/>
	<input id="yb-initby" type="hidden" value=""/>
	<input type="hidden" value="" id="yb-jiuzhenxxmx">
    <div id="yb_yuangongid" style="display:none;">413</div>
    <script src="../static/js/header.js"></script> 
    <script type="text/javascript">
    var isYiBao = true;
    var path = '';
    var jinrusj = 'null';
    var rukou = 'null';
    var zhensuomc = '天天';
    // 医保显示控制
    if (isKeHud == true && isYiBao == true) {
		$('.a-btnyibao').css('display','inline-block');
		$('.a-nryibao').css('display','block');
    } else {
		$('.a-btnyibao').css('display','none');
		$('.a-nryibao').css('display','none');
    }
    if(jinrusj && jinrusj!='null') {
    	notifyInfo("欢迎进入"+"&nbsp;"+"&nbsp;"+zhensuomc,jinrusj);
    }
    if(rukou == '0' ) {
    	if(jinrusj && jinrusj!='null'&& (new Date().getTime() - Number(jinrusj)) < 3000) {
    		//$('#tanceng-shezhiyd').modal('show');
        }else{
        	$('#tanceng-shezhiyd').modal('hide');
        }
    }
    getPath(path);

   $("#guahao").click(function(){
    	window.location.href='guahao.jsp';
    	return false;
    });
    
    $("#head-kucun").click(function(){
    	window.location.href= path+'toKuncun.html';
    	return false;
    });

    //通知
    $("#imgTongzhi").click(function(){
    	window.location.href= path+'toTongzhi.jsp';
    	return false;
    });
    
    $("#zhensuo").click(function(){
    	window.location.href='toZhensuo.html';
    	return false;
    });
    $("#yibao").click(function(){
    	window.location.href= path+ '/jump/toYibao';
    	return false;
    });
  	//跳转到首页
    $("#shouy").click(function(){
	window.location.href='MyHtml.html';
    });
  	
    function toIndex() {
    	window.location.href= path+'/jump/toIndex?mingcheng='+mingcheng;
    	return false;
    }
    
    $("#shoufei").click(function(){
    	window.location.href= path+ 'toShoufei.jsp';
    	return false;
    });

    $("#huankuan").click(function(){
    	window.location.href='toHuankuan.html';
    	return false;
    });

    $("#chaxuntj").click(function(){
    	window.location.href= path+'searchStatistics.html';
    	return false;
    });
    $("#bangz").click(function(){
    	window.location.href="bangzhu.html";
    	return false;
    });
    $("#fayao").click(function(){
    	window.location.href="fayao.jsp";
    	return false;
    });
	$("#shouyao").click(function(){
	   	window.location.href='toShouyao.html';
	   	return false;
	   });
	$("#weizl").click(function(){
	   	window.location.href=  path+'/jump/toWeizl';
	   	return false;
	   });
	
	
   $("#changguimz").click(function(){
   	window.location.href=  path+'toChangguimz.html';
   	return false;
   });	
   $("#daijianwp").click(function(){
   	window.location.href= (path+"/views/daijianwp/daijianwpcf.jsp");
   	return false;
   });	
  $("#huanzhe").click(function(){
	window.location.href='toHuanzhe.html';
	return false;
	});
  $("#xitong-shezhi").click(function(){
	window.location.href= (path+"xitong-shezhi.jsp");
	return false;
	});
// 代煎外配权限
function getDaiJianwpqx() {
	var daijianwpqx;
	$.ajax({
		type: "get",
		url: path + "/yaoshifw/getDaiJianwpqx",
		async: false,
		success: function(res) {
		daijianwpqx= res;
		}
	});
	return daijianwpqx;
}
var daijianwpqx = getDaiJianwpqx();
if (daijianwpqx == true) {
	$('#daijianwp').css('display', 'block');
}
</script>

	

<link rel="stylesheet" type="text/css" href="../static/css/jiuzhenjl.css">
<div class="modal" id="jiuzhenjlnew" tabindex="-1" role="dialog" style="z-index:15050;overflow:auto;">
	<div class="modal-dialog modal-lg">
		<div class="modal-content"  style="border-radius: 0;top:120px;left:-10px;">
			<div class="modal-body">
				<main class="s-main clearfix" style="padding-bottom:30px;">
					<div class="first-doc">
						<div class="g-form-button clearfix">
							<botton class="btn button" id="btnYinyong" type="botton" style="height:30px;line-height:15px;">引用记录</botton>
							<botton class="btn btn-jzjl-xqjl button button3" type="botton" style="width:117px;padding-left:8px;">选择就诊记录 <i class="fa fa-plus " aria-hidden="true" id="dakai"></i></botton>
							<div type="button" class=" btn button button1" data-dismiss="modal"  style="height:30px;line-height:15px;">返回</div>
						</div>
						<div class="sd-right clearfix" id="hzjiuzhenjilu">
							<div class="list-content" style="border:solid 1px #fe6e17;width:100%; padding:10px 0;margin:0;">
								<div class="table-list hz-jiuzjl">
									<table width="100%" cellpadding="0" border="0" cellspacing="0">
										<thead>
											<tr>
												<th width="5%">序号</th>
												<th width="10%">就诊日期</th>
												<th width="10%">医生</th>
											</tr>
										</thead>
										<tbody id="tbjiuzjl">
										</tbody>
									</table>
									<div id="pagination-fenyhzjzjl"></div>
								</div>
							</div> 
						</div>
					</div>
					<div class="huanz-xinxi clearfix">
						<div class=hz-xinxi>
							<span>基本信息</span>
						</div>
						<div class="huanzxx-xq clearfix">
						 	<ul>
						 		<li><span class="hz-name">姓名：</span><span id="hz-xingming"></span></li>
						 		<li>性别：<span id="hz-xingbie"></span></li>
						 		<li>年龄：<span id="hz-nianling"></span><span class="dropdown-toggle" id="hinianlingdw"></span></li>
						 		<li>手机号：<span id="hz-shoujihm"></span></li>
						 		<li style="margin:0;">就诊时间：<span id="hz-jiuzhensj"></span></li>
						 	</ul>
						</div>
						<div class="huanzxx-gms clearfix">
						 	<ul>
						 		<li style="margin-right:0;"><span class="hz-name" style="float:left;line-height:30px;">过敏史：</span><span id="hz-guominshi" style="width:755px;display:inline-block;"></span></li>
						 	</ul>
						</div>
					</div>
	          <div class="second-doc clearfix">
	          	<div class="sd-left clearfix">
	          		<div class="sd-left-main">
	          			<div class="content-title">就诊详情</div>
	          			<div class="sdl-main-normal clearfix" ><span class="zhenduan-nav sdlm-nav">诊断</span>
	          				<span id="zhenduan"  class="sdlm-content"></span>
	          			</div>
	          			<div class="sdl-main-normal clearfix"><span class="zhushu-nav sdlm-nav">主诉</span>
	          				<span id="zhushu" class="sdlm-content"></span>
	          			</div>
	          			<div class="sdl-main-normal clearfix"><span class="xianbings-nav sdlm-nav">现病史</span>
	          				<span id="xianbings" class="sdlm-content"></span>
	          			</div>
	          			<div class="sdl-main-normal clearfix"><span class="jiwangs-nav sdlm-nav">既往史</span>
	          				<span id="jiwangs" class="sdlm-content"></span>
	          			</div>
	          			<div class="sdl-main-normal sdl-main-bodyexam clearfix"> 
	          				<span class="sdlm-nav">体格检查</span>
	          				<div id="qitatz" style="display:inline-block;width:755px;padding-left:30px;vertical-align: middle;border-left: solid 1px #eee;">
			          			<span class="sm-bodyexam" id="tiwen"></span>
			          			<span class="sm-bodyexam" id="tizhong"></span>
			          			<span class="sm-bodyexam" id="xinlv"></span>
			          			<span class="sm-bodyexam" id="shousuoy"></span>
			          			<span class="sm-bodyexam" id="shuzhangy"></span>
			          			<span class="sm-bodyexam" id="xinlvzb"></span>
			          			<span class="sm-bodyexam" id="qita"></span>
	          				</div>
	          			</div>
	          			<div class="sdl-main-normal clearfix jiuzhenjl-txzl"> 
	          			</div>
	          			<div class="sdl-main-normal sdl-main-medicine clearfix"> 
	          				<div class="jiwangs-nav sdlm-nav hzrecord-sdlw-nav" style="float:none;">药品</div>
	          				<div class="table-list huanzhe-table" style="width:95%;margin: 0 auto;"id="chengyaocfmxdiv">
	          				</div>
	          				<div class="table-list huanzhe-table" style="width:95%;margin: 0 auto;" id="caoyaocfdiv">
	          				</div>
	          			</div>
	          			<div class="sdl-main-normal sdl-main-advice clearfix" style="border-bottom:none;">
	          				<span class=" sdlm-nav">医嘱</span>
	          				<span class="sdlm-content" id="yizhu"></span>
	          			</div>
	          		</div>
	          	</div>
	          </div>
    		</main>
			</div>
		</div>
	</div>
</div>

	

<link rel="stylesheet" type="text/css" href="../static/css/imgupload.css">
<link rel="stylesheet" type="text/css" href="../static/css/cropper.min.css">
<script src="../static/js/cropper.min.js"></script>

<link rel="stylesheet" type="text/css" href="../static/css/bootstrap-datetimepicker.min.css"></link>
<script type="text/javascript" src="../static/js/moment.js"></script>
<script type="text/javascript" src="../static/js/zh-cn.js"></script>
<div class="modal fade" id="detailimg" style="z-index: 15050;top:100px;overflow:aoto;"  tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="huankuan-tanceng-hk" aria-hidden="true">
	<div class="modal-dialog modal-lg m-postion" style="max-width: 900px;">
		<div class="modal-content">
			<div class="modal-header" style="border-bottom: none;padding:0;">
				<button type="button" class="close" data-dismiss="modal" style="display:block;"><span aria-hidden="true"  style="float:right;margin-right:15px;cursor: pointer;font-size:30px;">×</span><span class="sr-only">Close</span></button>
			</div>
			<div class="modal-body" id="modal-bigimg" style="height:500px;padding-top:0">
			<h4 class="modal-title" style="text-align:center;color:#00b472;margin-bottom:15px;">报告单详情</h4>
				<img id="image" src="" alt="" >
			</div>
       		<div class="img-btn-controller">
       			<div class="btn-group">
			        <button type="button" class="btn btn-primary" data-method="zoom" data-option="0.1" title="Zoom In">
			            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;zoom&quot;, 0.1)">
			              <span class="fa fa-search-plus"></span>
			            </span>
			        </button>
			        <button type="button" class="btn btn-primary" data-method="zoom" data-option="-0.1" title="Zoom Out">
			            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;zoom&quot;, -0.1)">
			              <span class="fa fa-search-minus"></span>
			            </span>
			        </button>
       			</div>
       		    <div class="btn-group">
			        <button type="button" class="btn btn-primary" data-method="move" data-option="-10" data-second-option="0" title="Move Left">
			            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;move&quot;, -10, 0)">
			              <span class="fa fa-arrow-left"></span>
			            </span>
			        </button>
			        <button type="button" class="btn btn-primary" data-method="move" data-option="10" data-second-option="0" title="Move Right">
			            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;move&quot;, 10, 0)">
			              <span class="fa fa-arrow-right"></span>
			            </span>
			        </button>
			        <button type="button" class="btn btn-primary" data-method="move" data-option="0" data-second-option="-10" title="Move Up">
			            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;move&quot;, 0, -10)">
			              <span class="fa fa-arrow-up"></span>
			            </span>
			        </button>
			        <button type="button" class="btn btn-primary" data-method="move" data-option="0" data-second-option="10" title="Move Down">
			            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;move&quot;, 0, 10)">
			              <span class="fa fa-arrow-down"></span>
			            </span>
			        </button>
	       		</div>
	       		<div class="btn-group">
		          <button type="button" class="btn btn-primary" data-method="rotate" data-option="-45" title="Rotate Left">
		            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;rotate&quot;, -45)">
		              <span class="fa fa-rotate-left"></span>
		            </span>
		          </button>
		          <button type="button" class="btn btn-primary" data-method="rotate" data-option="45" title="Rotate Right">
		            <span class="docs-tooltip" data-toggle="tooltip" data-animation="false" title="" data-original-title="$().cropper(&quot;rotate&quot;, 45)">
		              <span class="fa fa-rotate-right"></span>
		            </span>
		          </button>
		        </div>
       		</div>
       		<div class="img-info clearfix">
       			<div class="img-info-type">
	       			<div class="img-info-timer clearfix">
	       				<span style="float:left;"><span class="glyph-star">*</span>日期：</span>
		       			<div class=' begin-time input-group date'  style="width:51%;border:none;">
		                    <input class="form-control" type="text" id="imgdetaildate-datetimepicker1" aria-required="true" placeholder="请选择日期" autocomplete="off" data-target="#msg_holder" />
		                </div> 
					</div>
	       			<div class="img-info-leixing">
		       			<span style="float:left;"><span class="glyph-star">*</span>类型：</span>
		       			<input type="text" id="imgLeixing" class="dropdown-toggle" data-toggle="dropdown" readonly placeholder="请选择类型" style="background: url('/image/renyuanbiao/drop-list.png') no-repeat 94%"> 
		       			<ul class="dropdown-menu" role="menu" style="display: none;left: 57px;">
                        </ul>
	       			</div>
       			</div>
       			<div class="img-info-extra">
       				<span class="img-info-extra-dingwei">备注：</span>
       				<textarea id="imgBeizhu" style="padding:0 8px;" placeholder="请填写备注"></textarea>
       			</div>
       		</div>
       		<div class="img-btns">
       			<span class="btn btn-sc"  id="imgShanchu">删除</span>
       			<span class="btn btn-bc"  id="imgBaocun">保存</span>
       			<span class="btn btn-qx"  id="imgQuxiao">取消</span>
       		</div>

		</div>
	</div>
</div>

<script src="../static/js/jiuzhenjl.js"></script>

	<div class="g-container main-scroll-nav">
		<div id="big-box" class="main-box">
	      <div class="title-list">
	          <ul>
	          	
	          	<li><span class="lishoufeijl">收费记录</span></li>
	          
	          
	          	<li><span class="lituifeijl">退费记录</span></li>
	          
	          
	          	<li><span class="liqianfeijl">欠费记录</span></li>
	          
	          
	          	<li><span class="lihuankuanjl">还款记录</span></li>
	          
	          
	          	<li><span class="limenzhenjl">门诊记录</span></li>
	          
	           
	          	<li><span class="liyaopinxs">药品出库</span></li>
	           
	            
	          	<li><span class="liyiliaohc">耗材出库</span></li>
	          	
	         	
	         	<li><span class="lirukujl">入库记录</span></li>
	           
	           
	          	<li><span class="lijiancx">诊疗项</span></li>
	           
	           
	         	 <li><span class="lifujiaf">附加费用</span></li>
	            
	           
           		 <li><span class="liyuangongjx">员工绩效</span></li>
           	   
	          </ul>
	      </div>
	      
	      	<div id="chaxunnr" class="cxtj-neirk"></div>
	      
		</div>
	</div>
	<!-- 模态弹出窗内容 -->
	<div class="modal" id="modalHuanZhexq" tabindex="-1" role="dialog" style="z-index:15050">
		<div class="modal-dialog modal-lg">
			<div class="modal-content"  id="modal-content"  style="width:650px; left:170px;border-radius: 0;top:150px;">			
				<div class="modal-body">
					<div class="g-doc">
						<div class="first-doc">
							<span class="gf-hzhead">患者详情</span>
							<button type="button" class="close"style="color:#00b671;opacity:0.5" data-dismiss="modal"><span class="sr-only icon-close"></span></button>
						</div>
				        <div class="second-doc clearfix">
				        	<div class="g-msg"><div class="msg-box" id="msg_holder"><span class="n-msg"></span></div></div>
				          		<div class="g-m-chinese">
						        	<div class="medicine-herb">
						            	<div class="huanz-xinxi clearfix">
						              		<div class="huanzxx-xq clearfix">
						              	      	<ul>
						              	      		<li class="huanzhe-head"><span class="hz-name">姓名：</span><span id="hzxx-xingming"></span></li>
						              	      		<li>性别：<span id="hzxx-xingbie"></span></li>
						              	      		<li>年龄：<span id="hzxx-nianling"></span><span class="dropdown-toggle" id="hzxx-nianlingdw"></span></li>
						              	      		<li>手机号：<span id="hzxx-shoujihm"></span></li>
						              	      	</ul>
						              	    </div>
						              	    <div class="huanzxx-gms clearfix">
							              		<ul class=" clearfix">
							              	    	<li class=" clearfix"><span class="hz-name dizhi">过敏史：</span><span id="hzxx-guominshi" class="duanhang"></span></li>
							              	    </ul>
						              	 	</div>
						              	 </div>
								          <div class="hz-medicine-item medicine-bigone">
								              	 <label class="hz-name" for="hzn-nameinput">身份证号：</label>
								                  <span id="hzxx-shenfenzhm"></span>
								          </div>
								          
								          <div class="hz-medicine-item">
								              	 <label class="hz-name" for="hzn-nameinput">紧急联系人姓名：</label>
								                 <span id="hzxx-jinjilxr"></span>
								          </div>
								           <div class="hz-medicine-item hz-mi-xglxr">
								              	 <label class="hz-name" for="hzn-nameinput">紧急联系电话：</label>
								                 <span id="hzxx-jinjilxdh"></span>
								          </div>
								          <div class="hz-medicine-item medicine-bigone hz-mi-xglxr">
								          		<table style="table-layout:fixed;">
								          			<tbody >
								          			<tr class="medicine-item-tr">
								          				<td  class="hz-name"  style="vertical-align:0%;"><label class=" mi-table-label" >相关联系人：</label></td>
								          				<td class="hzn-name-td2" id="tbguanlr">
								          					<ul  id="dropdownli" class="dropdown-menu li-width f-input-li"  style="display:none;" role="menu">
								   							</ul>
								          				</td>
								          				<td><span id="tishi" style="color:red;font-size:12px;"></span></td>
								          				<td></td>
								          			</tr>
								          			</tbody>
								          		</table>
								          </div>
							             <div class="hz-medicine-item medicine-bigone">
							              	 <label class="hz-name" for="hzn-nameinput">地址：</label>
							              	 <span id="hzxx-dizhi-sf"></span><span id="hzxx-dizhi-cs"></span><span id="hzxx-dizhi-qx"></span>
								          </div>							          
								          <div class="hz-medicine-item medicine-bigone clearfix" >
								          <span class="hz-name dizhi" for="hzn-nameinput">详细地址：</span>
								                 <span id="hzxx-xiangxizz" class="duanhang"></span>
								          </div>
								          <div class="hz-medicine-item medicine-bigone medicine-item-extra">
								              	 <span class="hz-name dizhi" for="hzn-nameinput">备注：</span>
								                 <span id="hzxx-beizhu" class="duanhang"></span>
								          </div>
							      </div>
						       </div>
				          </div>
				   </div>
				</div>
			</div>
		</div>
	</div>
  	
	
 <script src="../static/js/pagination.min.js"></script>
 <script src="../static/js/header.js"></script>
<script type="text/javascript" >
$(function(){
	var shoufeijl = true;
	var chaxuntj = true;
	var path = '';
	if(shoufeijl) {
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$('.cxtj-neirk').load("serarchStatistics/chaxtj-sfjl.jsp");
	}else{
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$('.cxtj-neirk').load(path+"/views/serarchStatistics/chaxtj-mzjl.jsp");
		$('.limenzhenjl').css("border","solid 1px #00b472");
	}
	/*收费记录*/
	$('.lishoufeijl').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-sfjl.jsp");
	});
	/*退费记录*/
	$('.lituifeijl').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-tfjl.jsp");
	});	
	/*欠费记录*/
	$('.liqianfeijl').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-qfjl.jsp");
	});
	/*还款记录*/
	$('.lihuankuanjl').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-hkjl.jsp");
	});
	/*门诊记录*/
	$('.limenzhenjl').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$('.cxtj-neirk').load(path+"serarchStatistics/chaxtj-mzjl.jsp");
	});
	/*药品销售*/
		$('.liyaopinxs').click(function(){
			$(".datepicker").remove();
			$("#chaxunnr").html('');
			$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-ypxs.jsp");
		});
	/*医疗耗材*/
	$('.liyiliaohc').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-ylhc.jsp");
	});
	/*入库记录*/
	$('.lirukujl').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-rukujl.jsp");
	});
	/*诊疗项*/
	$('.lijiancx').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-jcx.jsp");
	});
	/*附加费用*/
	$('.lifujiaf').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-fjfy.jsp");
	});
	/*员工绩效*/
	$('.liyuangongjx').click(function(){
		$(".datepicker").remove();
		$("#chaxunnr").html('');
		$(".cxtj-neirk").load(path+"serarchStatistics/chaxtj-ygjx.jsp");
	});
});
$(".main-box .title-list ul li span").each(function(index){
	$(this).click(function(){
		$(".title-list ul li span").css("border","none");
	    $(this).css("border","solid 1px #00b472");
	});
});
</script>
</body>
</html>
